import { getTaskType } from '@/api/home'

export default {
  namespaced: true,
  state () {
    return {
      taskType: ''
    }
  },
  mutations: {
    setTaskType (state, payload) {
      state.taskType = payload
    }
  },
  actions: {
    async getTaskType2 () {
      const res = await getTaskType()
      console.log(res)
    }

  }
}
